
const boxTypeInfo = [
    {
        label:'40HQ',
        value:5
    },
    {
        label:'40GP',
        value:10
    },
    {
        label:'20HQ',
        value:15
    },
    {
        label:'20GP',
        value:20
    }
]
const boxTypeInfo1 = {5:'40HQ',10:'40GP',15:'20HQ',20:'20GP'}
const boxTypeInfo2 = {5:'40HQ(高柜)',10:'40GP(普柜)',15:'20HQ(高柜)',20:'20GP(普柜)'}

const boxConditionInfo = [
      {
        label:'混提',
        value:20
    },
    {
        label:'次新',
        value:10
    },
    {
        label:'适货',
        value:15
    },
   {
        label:'全新',
        value:5
    }
]
const boxConditionInfo1 = [
   {
        label:'适货',
        value:15
    },
    {
        label:'次新',
        value:10
    },
    {
        label:'全新',
        value:5
    }
]
const boxConditionInfo2 = {20:'混提',5:'全新',10:'次新',15:'适货'}
const boxConditionInfo3 = {15:'适货',5:'全新',10:'次新'}
function outputBoxType (boxType:any) {
    switch (boxType){
        case 5:
            return '40HQ'
        case '10':
            return '40GP'
        case 15:
            return '20HQ'
        case 20:
            return '20GP'
        default:
            return '--'
    }
}

function outputBoxcondition (boxCondition:any) {
    switch (boxCondition){
    case 5:
            return '全新'
        case '10':
            return '次新'
        case 15:
            return '适货'
        case 20:
            return '混提'
        default:
            return '--'
    }
}

const totalWeight = [{label:'32500KG',value:'32500KG'},{label:'30480KG',value:'30480KG'},{label:'30480/32500KG',value:'30480/32500KG'}]
const containerClassify = [{label:'自有箱',value:'5'},{label:'代管箱',value:'10'},{label:'外调箱',value:'15'}]
const containerClass = {'5':'自有箱','10':'代管箱','15':'外调箱'}
const currency1 = {"USD":"美元","CNY":"人民币"}
const currency2 = {"USD":"$","CNY":"￥"}
const orderType = {5:"出租箱业务",10:"回调箱业务",20:"出售箱",25:"购箱"} //(5-出租箱业务 10-回调箱业务 20-出售箱 25-购箱)
const containerStatus = { 5: '堆存中', 10: '提箱中', 15: '已提', 20: '未还', 25: '还箱中', 30: '未还已卖',33: '已出售', 35: '外加',40:'已还箱',45:'结束代管' }
const paymentMethod = {5:'对公转账',10:'在线支付'}
const invoiceType = {5:'增值税普通发票',10:'增值税专用发票',15:'形式发票'}
const invoiceType1 = [{value:5,label:'增值税普通发票'},{value:10,label:'增值税专用发票'}]
//<!-- 5-修箱费 10-提箱费  15-翻箱费  20-其他费  25-超期费 30-吊装费  35-堆存超期费 40-订单金额 45-应付租箱费 50-应收租箱费 55-购箱费 60-卖箱费 65-箱贴费 70-折旧费 -->
const expenseType = [{label:'修箱费',value:5},{label:'提箱费',value:10},{label:'翻箱费',value:15},{label:'其他费',value:20},{label:'超期费',value:25},{label:'吊装费',value:30},{label:'堆存超期费',value:35},{label:'租入费',value:40},{label:'租出费',value:45},{label:'购箱费',value:50},{label:'卖箱费',value:55},{label:'箱贴费',value:60},{label:'订单金额',value:65},{label:'折旧费',value:70}]
const expenseType1 = {5:'修箱费',10:'提箱费',15:'翻箱费',20:'其他费',25:'超期费',30:'吊装费',35:'堆存超期费',40:'租入费',45:'租出费',50:'购箱费',55:'卖箱费',60:'箱贴费',65:'订单金额',70:'折旧费'}
const refType = {5:'租箱',10:'回调',20:'售箱',25:'购箱',30:'代管箱'}
const writeOffStatus = {5:'未建账单',10:'已建账单',15:'已对账'}
const returnBoxType = {5:'还箱单',10:'箱属',15:'还箱令'}
const returnBoxStatus = {5:'已发放',10:'已下载',15:'还箱中',20:'已完成',25:'已过期'}
const billStatus = {5:'未对账',10:'已撤销',15:'未核销',20:'部分核销',25:'已核销'}
const billStatus1 = [{value:5,label:'未对账'},{value:10,label:'已撤销'},{value:15,label:'未核销'},{value:20,label:'部分核销'},{value:25,label:'已核销'}]
const refTypeList =[{ label: '出租箱', value: 5 },{ label: '回调箱', value: 10},{ label: '售箱', value: 20},{ label: '购箱', value: 25},{ label: '代管箱', value: 30}]
const billList = [{ label: '业务账单', value: 5 },{ label: '超期费账单', value: 10},{ label: '堆存费账单', value: 15},{ label: '其他', value: 25}]
export default {
    boxTypeInfo,
    boxTypeInfo1,
    boxTypeInfo2,
    boxConditionInfo,
    boxConditionInfo1,
    boxConditionInfo2,
    boxConditionInfo3,
    outputBoxType,
    outputBoxcondition,
    currency1,
    currency2,
    totalWeight,
    containerClass,
    containerClassify,
    containerStatus,
    orderType,
    paymentMethod,
    invoiceType,
    invoiceType1,
    expenseType,
    writeOffStatus,
    expenseType1,
    refType,
    returnBoxType,
    returnBoxStatus,
    billStatus,
    billStatus1,
    refTypeList,
    billList
}